<div id="sidebar">
	<?php include('tabber.php') ;?>
	<div class="widgetbox">
	<div id="subscribe">
		<ul class="subscribe_icons">
			<li class="subscribe_buzz"><a href="http://google.com/profiles/<?php echo get_theme_mod('google_id'); ?>" rel="nofollow" target="_blank"><?php _e('Buzz', 'themejunkie'); ?></a></li>
			<li class="subscribe_twitter"><a href="http://twitter.com/<?php echo get_theme_mod('twitter_id'); ?>" rel="nofollow" target="_blank"><?php _e('Twitter', 'themejunkie'); ?></a></li>
			<li class="subscribe_facebook"><a href="http://www.facebook.com/<?php echo get_theme_mod('facebook_id'); ?>" rel="nofollow" target="_blank"><?php _e('Facebook', 'themejunkie'); ?></a></li>
			<li class="subscribe_rss"><a href="http://feeds.feedburner.com/<?php echo get_theme_mod('feedburner_id'); ?>" rel="nofollow" target="_blank"><?php _e('RSS', 'themejunkie'); ?></a></li>
			<li class="subscribe_email"><a href="http://feedburner.google.com/fb/a/mailverify?uri=<?php echo get_theme_mod('feedburner_id'); ?>&amp;loc=en_US" rel="nofollow" target="_blank"><?php _e('Email', 'themejunkie'); ?></a></li>
		</ul>
		<div class="clear"></div>
	</div> <!--end: subscribe-->
	</div> <!--end: widgetbox-->
	<?php include('ads/sidebar300x250ad1.php'); ?>
	<div class="widget">
	<h1 class="widgettitle"><a href="<?php echo get_category_link(get_theme_mod('sidebarcat')); ?>"><?php echo cat_id_to_name(get_theme_mod('sidebarcat')); ?></a></h1>
	<div class="widgetbox">
	<?php $recent = new WP_Query("cat=".get_theme_mod('sidebarcat')."&showposts=".get_theme_mod('sidebarlist')); while($recent->have_posts()) : $recent->the_post();?>
	<div class="widgetnews">
    	<?php tj_thumbnail('sidebarthumbw', 'sidebarthumbh'); ?>
	  	<h2><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
        <span class="date"><?php the_time('M. j'); ?></span><span class="gray"> // <?php comments_popup_link('0 COMMENT', '1 COMMENT', 
	    	'% COMMENTS', 'comments-link', ''); ?></span>
	  	<div class="clear"></div>
	  	</div> <!--end: widgetnews-->
	<?php endwhile; ?>
	</div> <!--end: widgetbox-->
        <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Home Widgets - 1 Column') ) : ?>
    	<?php endif; ?>
        <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Home Widgets - 2 Columns') ) : ?>
    	<?php endif; ?>
  	</div> <!--end: widget-->
  		<?php include('ads/sidebar300x250ad2.php'); ?>
</div> <!--end: sidebar-->
